package command.client;

public class CommandFactoryClient {

    public static CommandClient getCommand(String commandName) {
        switch (commandName) {
            case "createuserclient":
                return new CreateUserClient();
            case "getlistofusersclient":
                return new GetListOfUsersClient();
            case "inviteusertochatclient":
                return new InviteUserToChatClient();
            case "loginuserclient":
                return new LoginUserClient();
            case "asktheconversationhistoryclient":
                return new AskTheConversationHistoryClient();
            case "disconnectconversationclient":
                return new DisconnectConversationClient();
            case "sendmessageclient":
                return new SendMessageClient();
            case "disconnectuserclient":
                return new DisconnectUserClient();
            case "acceptinvitationclient":
                return new AcceptInvitationClient();
            default:
                return null;
        }
    }
}
